//
//  QGUitility.h
//  qeegooChat
//
//  Created by heew on 16/1/7.
//  Copyright © 2016年 com.autozi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QGUitility : NSObject

+ (BOOL)directoryExist:(NSString*)dirPath;
+ (BOOL)createDirectory:(NSString*)dirPath;
+ (BOOL)stringIsNull:(NSString *)string;
+ (void)userDefaultCache:(id<NSCoding>)value key:(id)key;
+ (id)userDefaultGetValue:(id)key;
+ (NSUserDefaults *)standDefault;
+ (BOOL)isNullObject:(id)anObject;
+ (void)postNoti:(NSString *)notiName;
+ (void)postNoti:(NSString *)notiName withObject:(id)obj;
+ (void)postNoti:(NSString *)notiName withObject:(id)obj withUserInfo:(NSDictionary *)infoDict;
+ (NSString*)currentTimeStampString;
+ (BOOL)fileExist:(NSString*)path;
+ (void)systemMemoryCacheSet:(id<NSCoding>)value key:(id)key;
+ (void)dispatchOnce:(dispatch_once_t)onceToken action:(dispatch_block_t)block;
@end
